package com.wsd.util;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class HibernateUtil {
	
	/**
	 *建表
	 */
	public static void exportTable(){
		new SchemaExport(new Configuration().configure()).create(true, true);
	}
	
	public static void main(String[] args) {
		exportTable();
	}
}
